package org.agent.aigccore.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 更新用户信息请求DTO类
 */
@Setter
@Getter
@Schema(description = "更新用户信息请求参数")
public class UpdateUserRequestDTO {
    /**
     * 用户名
     */
    @Schema(description = "用户名", example = "admin")
    private String username;

    /**
     * 邮箱
     */
    @Schema(description = "邮箱", example = "admin@example.com")
    private String email;

    /**
     * 手机号
     */
    @Schema(description = "手机号", example = "13800138000")
    private String phone;

    /**
     * 姓名
     */
    @Schema(description = "姓名", example = "张三")
    private String name;

    /**
     * 身份证
     */
    @Schema(description = "身份证号", example = "110101199001011234")
    private String idCard;

    /**
     * 状态
     */
    @Schema(description = "状态", example = "NORMAL")
    private String status;

    /**
     * 角色：USER-普通用户，ADMIN-管理员
     */
    @Schema(description = "角色", example = "ADMIN")
    private String role;

    /**
     * 最后登录时间
     */
    @Schema(description = "最后登录时间", example = "2024-01-01T10:00:00")
    private Date lastLoginTime;

    /**
     * 创建人
     */
    @Schema(description = "创建人", example = "admin")
    private String creator;


    /**
     * 备注
     */
    @Schema(description = "备注", example = "系统管理员")
    private String remark;
}